﻿using System;
using System.Collections.Generic;
using System.Text;

namespace MT.Component.Infrastructure
{
   public  class DingtalkCallBackEventBase
    {

        public string EventType { get; set; }
    }
    public class ProcessInstanceBody : DingtalkCallBackEventBase
    {
        /// <summary>
        /// 
        /// </summary>
        public string processInstanceId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public long finishTime { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string corpId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string EventType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string businessId { get; set; }
        /// <summary>
        ///
        /// </summary>
        public string title { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string type { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string url { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string result { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public long createTime { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string processCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string bizCategoryId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string staffId { get; set; }
    }

    public class UserLeaveOrgBody: DingtalkCallBackEventBase
    {
        /// <summary>
        /// 
        /// </summary>
        public int TimeStamp { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<string> UserId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string CorpId { get; set; }
    }
}
